package com.hyt.it.ogt.kq.service.gov.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hyt.it.ogt.kq.service.bm.model.entity.SendMessageLog;
import com.hyt.it.ogt.kq.service.bm.model.entity.SendMessageLogCandidate;
import com.hyt.it.ogt.kq.service.bm.model.entity.SendMessageTemplate;
import com.hyt.it.ogt.kq.service.gov.model.param.MessageQueryParam;
import com.hyt.it.ogt.kq.service.gov.model.vo.SendMessageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 朱振宇
 * @since 2024-01-24
 */
public interface SendMessageMapper {

    void saveSendMessageLog(@Param("sendMessageLog") SendMessageLog sendMessageLog);

    void saveSendMessageLogCandidate(@Param("sendMessageLogCandidateList") List<SendMessageLogCandidate> sendMessageLogCandidateList);

    List<SendMessageTemplate> findSendMessageTemplateList(@Param("officeId")String officeId);

    IPage<SendMessageVo> queryMessage(@Param("param") MessageQueryParam param);
}
